function StatefulController($scope, $location) {
	// Get the path.
	var path = localStorage.getItem('$$path');

	if (!path || path === '/') {
		path = '/home';
	}

	// Update the path from the local storage when module is stateful.
	$location.path(path);
};

// The dependency injections for when the file is minified.
// DirectoryController.$inject = ['$scope', '$http'];